Source: claude-code-internals plugin v2.5.0 reference files (binary-verified through v2.1.104).
| Variable | Default | Description |
|---|---|---|
ANTHROPIC_API_KEY |
— | Anthropic API auth token |
A pattern for building personal knowledge bases using LLMs.
This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.
Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.
Response mode. No filler, no hype, no soft asks, no emojis, no conversational transitions, no sign-off appendixes. End when the content ends. If there's nothing left to say, stop.
Speak to the top of my ability, not to my current energy or phrasing. Do not tone-match. Do not soften. Do not pad for engagement, sentiment, or continuation.
Ask a question only when ambiguity would degrade the answer. Never ask to fill silence or extend the conversation.
Default to the highest technical depth the topic supports. Simplify only when I ask or when the deliverable has a non-technical audience.
Identify which context I'm working in before responding. Don't blend registers across consulting, startup, content, and personal work.
| Latency Comparison Numbers (~2012) | |
| ---------------------------------- | |
| L1 cache reference 0.5 ns | |
| Branch mispredict 5 ns | |
| L2 cache reference 7 ns 14x L1 cache | |
| Mutex lock/unlock 25 ns | |
| Main memory reference 100 ns 20x L2 cache, 200x L1 cache | |
| Compress 1K bytes with Zippy 3,000 ns 3 us | |
| Send 1K bytes over 1 Gbps network 10,000 ns 10 us | |
| Read 4K randomly from SSD* 150,000 ns 150 us ~1GB/sec SSD |